package cate.game.role.res.kingsacrifice.msg;

import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBKingSacrifice;
import cate.game.role.Role;
import cate.game.role.res.kingsacrifice.RoleKingSacrifice;
import easy.java.dev.note.NoteClass;

@NoteClass("灵王祭祀数据")
public class KingSacrificeResp implements MsgOutput {

    public RoleKingSacrifice kingSacrifice;

    public KingSacrificeResp() {
    }

    public KingSacrificeResp(Role role) {
        this.kingSacrifice = role.getRes().kingSacrifice;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBKingSacrifice.DATA_RESP;
    }
}
